home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / ui / ingame_join.menu < prev    next >
Encoding:
Text File  |  2000-11-22  |  2.3 KB  |  144 lines

  1. #include "ui/menudef.h"
  2.  
  3.  
  4. {
  5. \\ INGAME_JOIN MENU \\
  6.  
  7.   menuDef {
  8.         name "ingame_join"
  9.         visible 1
  10.         fullScreen 0
  11.             outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  12.         rect 23 30 128 128
  13.     focusColor 1 .75 0 1
  14.  
  15.  
  16. itemDef {
  17.          name team
  18.     style WINDOW_STYLE_FILLED
  19.          rect 10 15 108 113   
  20.     
  21.     forecolor 1 1 1 1
  22.     backcolor 0 .1 0 1
  23.           visible 1 
  24.          decoration
  25.         }
  26.  
  27.  
  28.  
  29.  
  30.  
  31. // FRAME    //
  32.  
  33.  
  34. itemDef {
  35.     name window
  36.     rect 0 10 64 64
  37.     style 3
  38.     background "ui/assets/ingameleftcorner.tga"
  39.     visible 1
  40.     decoration
  41.     }
  42. itemDef {
  43.     name window
  44.     rect 64 10 64 64
  45.     style 3
  46.     background "ui/assets/ingamerightcorner.tga"
  47.     visible 1
  48.     decoration
  49.     }
  50. itemDef {
  51.     name window
  52.     rect 30 0 65 16
  53.     style 3
  54.     background "ui/assets/ingameconnection.tga"
  55.     visible 1
  56.     decoration
  57.     }
  58. itemDef {
  59.     name window
  60.     rect 0 64 64 64
  61.     style 3
  62.     background "ui/assets/ingameleftcornerb.tga"
  63.     visible 1
  64.     decoration
  65.     }
  66. itemDef {
  67.     name window
  68.     rect 64 64 64 64
  69.     style 3
  70.     background "ui/assets/ingamerightcornerb.tga"
  71.     visible 1
  72.     decoration
  73.     }
  74.  
  75.  
  76.  
  77.  
  78.  
  79. itemDef {
  80.          name team
  81.          text "Team RED"
  82.     type 1
  83.           style 2    
  84.          rect 0 20 128 20   
  85.          textalign 1    
  86.          textalignx 64
  87.         textaligny 18        
  88.     textscale .25
  89.           forecolor 1 1 1 1
  90.           visible 1 
  91.           action { exec "cmd team red" ; uiScript closeingame }
  92.         }
  93.  
  94.  itemDef {
  95.           name team
  96.           text "Team BLUE"
  97.     type 1
  98.           style 2    
  99.           rect 0 40 128 20   
  100.           textalign 1    
  101.           textalignx 64
  102.           textaligny 18
  103.     textscale .25
  104.           forecolor  1 1 1 1
  105.           visible 1 
  106.           action { exec "cmd team blue" ; uiScript closeingame }
  107.         }
  108.  
  109.  
  110.  itemDef {
  111.           name team
  112.           text "Auto TEAM"
  113.     type 1
  114.           style 2    
  115.           rect 0 60 128 20   
  116.           textalign 1    
  117.           textalignx 64
  118.           textaligny 18
  119.     textscale .25
  120.           forecolor  1 1 1 1
  121.           visible 1 
  122.           action { exec "cmd team free" ; uiScript closeingame }
  123.         }
  124.  
  125.  
  126.  itemDef {
  127.           name team
  128.           text "Spectate"
  129.     type 1
  130.           style 2    
  131.           rect 0 80 128 20   
  132.           textalign 1    
  133.           textalignx 64
  134.           textaligny 18
  135.     textscale .25
  136.           forecolor  1 1 1 1
  137.           visible 1 
  138.           action { exec "cmd team s" ; uiScript closeingame }
  139.         }
  140.  
  141.  
  142. }
  143.  
  144. }